package com.mmall.pay.result;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Map;

/**
 * @author gg
 * @version CreateOrderResult.java, v 0.1 2019-05-27 19:34 gg
 */
@Data
@EqualsAndHashCode
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CreateOrderResult extends BaseResult {

    private String appId;
    private String timeStamp;
    private String nonceStr;
    /**
     * 由于package为java保留关键字，因此改为packageValue. 前端使用时记得要更改为package
     */
    @JsonProperty("package")
    private String packageValue;
    private String signType;
    private String paySign;
    private String platform;
    private String outTradeNo;
    private String payType;
    private String payUrl;
    private String openId;
    /**
     * 支付宝字段
     */
    private String code;
    private String msg;
    private String subCode;
    private String subMsg;
    private String body;
    private Map<String, String> params;

}